<template>
    <div>
        <button @click="btnClick">按钮点击</button>
    </div>
</template>

<script>
    import emitter from './utils/eventbus'

    export default {
        methods: {
            btnClick() {
                console.log('about按钮的点击');
                emitter.emit('leon', {name: 'leon', age: 18});
            }
        }
    }
</script>

<style scoped>

</style>